<style>
.fui-goods-group.block .fui-goods-item .detail {height:auto}
.btn-info {
	background-color:#d9f9ee;
	color:#03c274;
	border-radius:1rem;
}
.addsite {
	border: 1px dashed #18bc9c;height:8.6rem;text-align:center;color:#18bc9c
}
.addsite:hover {
	border: 1px dashed #f60;color:#f60;
}
.fui-goods-group.block .fui-goods-item .image {
	height:5rem;
    padding-bottom: 0;
}
</style>
<div class="fui-goods-group block">
			<div class="fui-goods-item">
				<div class="addsite" href="javascript:;" ng-click="access_json('jy_quanhuo/upitem//gamename='+pagedata.params.gamename)">
				  <div style="margin:2.7rem 30px 0 30px;"><i class="icon icon-jia" style="font-size:1rem"></i></div>
				  <div style="margin:0 30px">创建一个活动</div>
				</div>
			</div>
			<div ng-repeat="item in pagedata.list" class="fui-goods-item" ng-click="access_json('/tpl_look//id='.item.id);">
				<div class="image" style="position:relative;background-image: url({{tomedia(item.logo) ||'../core/resource/images/nopic.jpg'}})">
				</div>
				<div class="detail">
					<div class="name bold" style="height:2rem">
						{{item.title}}
					</div>
					<div style="margin-top: 0">
						<span class="gray" style="font-size:0.6rem">已使用{{item.salenum || 0}}次</span>
						<span class="r-f">
							<span href="javascript:" ng-click="access_json(item.url);" class="btn btn-sm btn-info btn-ban r-f">预览模板</span>
						</span>
					</div>
				</div>
			</div>
</div>
<script>
scope.tool.get_list('jy_quanhuo/tpl/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_quanhuo/tpl/getlist/');
}
</script>
